<template>
  <router-view />
</template>

<script setup>
import useSettingsStore from '@/store/modules/settings'
import { handleThemeStyle } from '@/utils/theme'

onMounted(() => {
  nextTick(() => {
    // 初始化主题样式
    handleThemeStyle(useSettingsStore().theme)
  })
})
</script>

<style lang="scss">
#app{
  position: relative;
  z-index: 100;
}
body{
  user-select: none;
  background: #f4f4f4;
}
.banxin{
  width: 1200px;
  margin: 0px auto;
}
</style>
